package com.hondee.fuzzyquery.entity.access.querycondition;

public class SqlWhereLogicStringBuilder {

	private static final String AND_STR  =" AND ";
	private static final String OR_STR  =" OR ";
	private static final String NULL_STR  = "";
	
	public static String get(Logic logic){
		if(logic==Logic.AND){
			return AND_STR;
		}else if(logic == Logic.OR){
			return OR_STR;
		}else if(logic ==Logic.NONE){
			return NULL_STR;
		}
		else{
			throw new RuntimeException("No such sql logic symbal.");
		}
	}
}
